<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="http://cdn.bootcss.com/bootstrap/3.2.0/css/bootstrap.css" rel="stylesheet">

<link  rel="Stylesheet" href="${initParam.url }/statics/css/daohanglan.css" />
</head>
<body>       
	<nav class="navbar navbar-default .navbar-fixed-top" role="navigation">&nbsp;&nbsp;&nbsp;三
		
	   	<span  style="padding-left: 1100px;" >  <img src="${initParam.url }/statics/images/prod-1.jpg" height="50" width="50">
	   		<c:if test="${user != null }"> ${user.devCode }</c:if>
	   		<c:if test="${admin != null }">${admin.userCode }</c:if>
	   	</span> 
	     </nav>
	    <p style=" padding-left: 1050px; "> <input type="submit" value="Log Out" style="height: 30px; width:150px; "></p>
	      <h2>欢迎你：<c:if test="${user != null }">  ${user.devName }：|角色：开发者账户</c:if>
	      	<c:if test="${admin != null }">${admin.userName }：|角色：<c:if test="${admin.userType == 1}">超级管理员</c:if>
	      		<c:if test="${admin.userType == 2}">财务</c:if>
	      		<c:if test="${admin.userType == 3}">市场</c:if>
	      		<c:if test="${admin.userType == 4}">运营</c:if>
	      		<c:if test="${admin.userType == 5}">销售</c:if>
	      	 </c:if>
	      </h2> 
</body>
</html>
